// 家长管理
import request from "@/config/request"

// 查询列表
export const getFamilyList = () => {
    return request.get("/admin/account/list")
}

// 恢复默认密码
export const resetPassword = (id: number) => {
    return request.get(`/admin/account/resume?id=${id}`)
}

// 删除
export const deleteFamily = (id: number) => {
    return request.post(`/admin/account/update?id=${id}`)
}

// 查看家长信息详情
export const getFamilyDetail = (id: number) => {
    return request.get(`/admin/account/get?id=${id}`)
}